<div id="Left">
  <h3>会员中心</h3>
  <a <?php if (Yii::$app->controller->action->id == 'info'){echo 'class="on"';}?>  href="<?= yii\helpers\Url::to(['member/info']);?>">修改基本资料</a>
  <a <?php if (Yii::$app->controller->action->id == 'message' || Yii::$app->controller->action->id == 'messagepage'){echo 'class="on"';}?> href="<?= yii\helpers\Url::to(['member/message']);?>">我的消息</a>
  <a <?php if (Yii::$app->controller->action->id == 'apply' || Yii::$app->controller->action->id == 'apply_association'){echo 'class="on"';}?> href="<?= yii\helpers\Url::to(['member/apply']);?>">申请入会</a>
  <a <?php if (Yii::$app->controller->id == 'meetingenroll'){echo 'class="on"';}?> href="<?= yii\helpers\Url::to(['meetingenroll/list']);?>">已报名培训</a>
</div>